home *** CD-ROM | disk | FTP | other *** search
- @* A little-known command available in DOS 3.2, DRIVPARM inserted in the
- CONFIG.SYS file can take the place of DRIVER.SYS when configuring a 720K disk
- drive that is installed internally. Its advantage over DRIVER.SYS (in addition
- to saving some bytes) is that the logical drive designation remains the same as
- the physical designation. Although mentioned in the documentation for some
- versions of MS-DOS (and in the recalled MS-DOS Technical Reference
- Encyclopedia), DRIVPARM is not documented for PC-DOS; but it works.
-
- This discussion took place in the IBMHW Forum of IBMNET on Compuserve; messages
- edited by Joan Friedman 76556,3643.
-
- @* Message no. range: 37621-40969 (IBMHW)
- @* Date range: January 5-24, 1987
-
-
- @* THE DISCOVERY
-
- Fm: Woody Liswood 72435,1131 05-Jan-87
- To: ALL
-
- If you are running PC-DOS 3.2 [on a T1100+] you do not need to load DRIVER.SYS
- as part of the config.sys file [to enable the recognition of the 3.5" 720K
- microfloppy drive]. Just say:
- DRIVPARM=/d:1 /f:2
- This specifies to DOS that drive B (1) is formatted at 720K (2). It works, I
- tested it today. Got that info from someone on THE WELL in San Francisco
- (after I had left some comments on how to use the Driver.sys and set the
- parameters correctly).
-
-
- Fm: SysOp Conrad Kageyama 76703,1010 05-Jan-87
- To: Woody Liswood 72435,1131
-
- Are we talking PC-DOS 3.2 or Toshiba DOS 3.2???.. While I'm no DOS expert, I
- just looked at my 3.2 DOS manual and the 3.2 Tech Ref and found no reference to
- "DRIVPARM"..
-
-
- Fm: Woody Liswood 72435,1131 05-Jan-87
- To: SysOp Conrad Kageyama 76703,1010 (X)
-
- I purchased MS-DOS 3.2. Mainly so I could use a 3.5 drive on my clone to
- transfer back and forth with the Toshiba. In my DOS manual it [DRIVPARM] is
- [mentioned] on pages 246 and 251. It is mentioned as part of the CONFIG.SYS
- file. It is described as "Defines parameters for block devices" on page 246.
- On 251 it says that you use the DRIVPARM to override the original MS-DOS device
- driver settings.
-
- SYNTAX is:
- drivparm=/d:dd [/c] [/f:ff] [/h:hh] [/n] [/s:ss] [/t:ttt]
-
- The dd for /d switch sets drive number between 0 and 255. 0=A, 1=B, etc. The c
- switch specifies that change-line (doorlock) support is required. The ff
- option specifies the form factor index where: 0=320/360K drives, 1=1.2 mb,
- 2=720K, 3=8" single density, 4=8" double density, 5=hard disk, 6=tape drive,
- 7=other. The hh option specifies the maximum head number, from 1 to 99. The n
- switch specifies a nonremovable block switch. The ss option specifies the
- number of sectors per track, 1 to 99. The ttt option specifies the tracks per
- side of the block device from 1 to 999.
-
-
- Fm: SysOp Conrad Kageyama 76703,1010 05-Jan-87
- To: Woody Liswood 72435,1131
-
- I'll check and see if DRIVPARM works in PC-DOS 3.2. Thanx for the info.
-
-
- Fm: Dave Hoagland 76054,171 05-Jan-87
- To: SysOp Conrad Kageyama 76703,1010 (X)
-
- I just tried it. DRIVPARM *does* work in PC/DOS 3.2. I can now format a
- microfloppy in my Teac to the full 720K as drive "B".
-
-
- Fm: N. Arley Dealey 70130,177 05-Jan-87
- To: SysOp Conrad Kageyama 76703,1010 (X)
-
- Yes, DRIVPARM is one of those wonderful undocumented things. Curious how
- knowledge of them seems to happen all at once. I just learned about it in the
- last day or two (but I don't remember where).
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 05-Jan-87
- To: N. Arley Dealey 70130,177
-
- It is available and documented in MS-DOS 3.2, but I did not know it was there
- in PC-DOS.
-
-
- Fm: Dave Hoagland 76054,171 05-Jan-87
- To: Doug Hogarth [PowerSoft] 76703,374
-
- What is it that DRIVPARM is supposed to do?
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 05-Jan-87
- To: Dave Hoagland 76054,171
-
- It has parameters like DRIVER.SYS, but modifies existing block devices (like
- B:). Is that all you need, or do you want the list of parameters?
-
-
- Fm: Dave Hoagland 76054,171 05-Jan-87
- To: Doug Hogarth [PowerSoft] 76703,374
-
- Saw the list of parameters in Woody's message. I've already tried it, and it
- works. Nice to be able to format the microfloppy as drive "B".
-
- I wonder why IBM chose not to document the feature, offering their DRIVER.SYS
- instead? I'd hate to think it was to promote sales of their external drive, or
- newer systems with BIOS support for the microfloppies...
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 06-Jan-87
- To: Dave Hoagland 76054,171 (X)
-
- My only guess is that DRIVPARM came after DRIVER.SYS (probably around the same
- time as STACKS), and did not make it into the manual. Of course, DRIVER.SYS
- works in all cases and allows access by more than one driver specifier, perhaps
- it was easier for them.
-
-
- Fm: Joan Friedman 76556,3643 05-Jan-87
- To: Doug Hogarth [PowerSoft] 76703,374 (X)
-
- Sorry to be dense here, but is DRIVPARM an actual file (presumably a device
- driver) that comes with some OEM'ed versions of MS-DOS 3.2? Or is it an
- internal command (like, say, FILES or BUFFERS) which you can use in your
- config.sys under DOS 3.2?
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 05-Jan-87
- To: Joan Friedman 76556,3643
-
- Internal, like FILES and BUFFERS (and FCBS!). Don't know about other versions
- of MS-DOS - mine was on the blue package sealed by Microsoft. I'm going to go
- search for it in PC-DOS 3.2, will be back in a flash with the info.
-
- Okay, it exists in PC-DOS 3.2 also. The exact parameters were posted in
- another message, but they are like DRIVER.SYS with an equal sign after
- DRIVPARM. It is the method I prefer for drives that would otherwise be known
- by something like B, because with DRIVPARM, you get to refer to it as B rather
- than something like E. The line I used was DRIVPARM=/d:1 /f:2 /t:80. Don't
- know what effect the other parmaters would have if I set them wrong. I might
- not have even needed the /t:80.
-
-
- Fm: SysOp Conrad Kageyama 76703,1010 05-Jan-87
- To: Doug Hogarth [PowerSoft] 76703,374
-
- Did you find the info in the DOS manual or Tech Ref? I found no reference at
- all. However, I do confirm that DRIVPARM works on PC-DOS 3.2 on the T3100.
-
- I modified it to: DRIVPARM=/D:0 /F:2, and sure enough, Drive A: now formats as
- a 720KB drive! I still can't make DISKCOPY work, BUT I gained back 192 bytes
- of RAM in switching from DRIVER.SYS..
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 06-Jan-87
- To: SysOp Conrad Kageyama 76703,1010
-
- Well, you are not going to believe this, but I got that info out of the "MS-DOS
- Technical Reference Encylopedia."
-
-
- @* CONNIE'S DISKCOPY PROBLEM
-
- Fm: SysOp Conrad Kageyama 76703,1010 06-Jan-87
- To: Doug Hogarth [PowerSoft] 76703,374
-
- Bottom line is that DRIVPARM works and saves bytes. Now if only I could figure
- a way to DISKCOPY, though I haven't yet tried all the possibilities with
- DRIVPARM and DRIVER.SYS...
-
-
- Fm: Robert L. Stein 70365,1327 08-Jan-87
- To: Bart Barker 70137,2151
-
- Extending the idea... DRIVPARM works just fine, too! Except, for DRIVPARM=/D:1
- /F:2 /T:80, drive B: is the "aliased" drive A: Perfect!!! Thanks, Bart, Dave,
- Doug, and all the others.
-
- You know, I've got a crazy idea: wouldn't it be interesting to try to set the
- DRIVPARM (or DRIVER.SYS) for the 3100's hard drive, then try formatting it?
- Would that solve 3.2 barfing on bad sectors? I dunno. Any volunteers?
-
-
- Fm: SysOp Conrad Kageyama 76703,1010 08-Jan-87
- To: Robert L. Stein 70365,1327
-
- I have tried in my CONFIG.SYS:
- DRIVPARM=/D:0 /F:2, DRIVPARM=/D:0 /F:2 /T:80
- DEVICE=DRIVER.SYS /D:0, DEVICE=DRIVER.SYS /D:0 /F:2,
- DEVICE=DRIVER.SYS /D:0 /F:2 /T:80
- and both DRIVPARM=/D:0 /F:2 and DEVICE=DRIVER.SYS /D:0 together.
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 09-Jan-87
- To: SysOp Conrad Kageyama 76703,1010 (X)
-
- Those look like the proper values. It sounds to me like DISKCOPY is bad - it
- should be using those values. In fact, that was the main change listed to
- DISKCOPY - using them instead of the FAT ID.
-
-
- Fm: Robert L. Stein 70365,1327 08-Jan-87
- To: SysOp Conrad Kageyama 76703,1010
-
- The DRIVPARM statement in your message is wrong. For DRIVPARM to work (at
- least from my playing with it) is /D:1 *not* /D:0 !! (ironically, according to
- the PC-DOS manual, /D:1 isn't a valid parameter for DRIVER.SYS for the 3100).
-
- Try DRIVPARM=/D:1 /F:2 /T:80. It *does* work (and indeed DISKCOPY reports
- copying 80 tracks). Lemme know if that doesn't do it for you.
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 08-Jan-87
- To: Robert L. Stein 70365,1327
-
- /D:1 means adjust parameters of B - /D:0 means adjust parameters of A (I don't
- know if that is completely valid though).
-
-
- Fm: Robert L. Stein 70365,1327 09-Jan-87
- To: Doug Hogarth [PowerSoft] 76703,374 (X)
-
- Which is slightly different than the /D:parameter of DRIVER.SYS. On a one
- floppy, one hard disk system, /D:1 is invalid for DRIVER.SYS, according to the
- docs. Confusing.
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 09-Jan-87
- To: Robert L. Stein 70365,1327
-
- I don't know about the docs, but I've used /D:0 and /D:1 with DRIVER.SYS. It
- is simply the number to show which physical drive you want to use. In my case
- it was on a Compaq Deskpro with hard disk.
-
-
- Fm: SysOp Conrad Kageyama 76703,1010 08-Jan-87
- To: Robert L. Stein 70365,1327
-
- Using that syntax sets the params to Drive B:. Is this then to say that if I
- want to format a disk I have to do a FORMAT B:? The object of the exercise, at
- least for me, was to eliminate the logical drives and stick to physical drives.
-
- Also, if I set the parms to B:, what syntax for DISKCOPY? Is it:
-
- A>DISKCOPY or,
- A>DISKCOPY A: B: or,
- B>DISKCOPY or
- B>DISKCOPY A: B:
-
-
- Fm: Robert L. Stein 70365,1327 09-Jan-87
- To: SysOp Conrad Kageyama 76703,1010 (X)
-
- It's log onto B:, then DISKCOPY with no command line params. It'll prompt you
- for "disk for drive B:," then for "SOURCE disk," then for "TARGET disk."
-
- For me, since I deal with the Bridge 90% of the time, I'll just stick to
- DRIVER.SYS for now. I'm used to calling the HD of my IBM-PC drive G: from the
- Tosh [grin].
-
-
- Fm: SysOp Conrad Kageyama 76703,1010 08-Jan-87
- To: Paul Harrigan 73047,3666
-
- Paul and Doug and Bob!!!!!.. BINGO!!!...
-
- As I just mentioned, I'm using the "latest" DISKCOPY, dated 4/86. I loaded up
- the original DISKCOPY, dated 12/85, with DRIVPARM=/D:0 /F:2 and voila!,
- DISKCOPY worked! Looks like something is afoul in the 4/86 version.
-
- What version are you folks (Bart and Bob) using???...
-
- And now for the kicker. Earle Robinson, on IBMSW, has just reported that there
- is Yet Another DISKCOPY, dated 11/86... I'll have to see if I can dig that one
- up..
-
-
- @* USING DRIVPARM
-
- Fm: Dennis Wiener 76505,2040 10-Jan-87
- To: Dave Hoagland 76054,171 (X)
-
- I got the Panasonic drive today and installed it. After patching up a faulty
- cable the drive is up and running. It seems slow though compared to the 5 1/4"
- floppies using the dos copy command. Really like the smaller disk size though.
- It should help cut down on my desk clutter, and no more searching for the
- incredible dissapearing disk sleeves (though at 3x the storage cost). Some
- quick questions about set up.
-
- I'm running on an XT with a 5 1/4" floppy as drive A:, the 3 1/2" as drive B:,
- and a hard drive as C:. My switches are set to show 2 floppy disks installed.
- This causes some unwanted prompts to swap disks from drive D: (the 3 1/2"
- logical drive) and drive B: (the 3 1/2" physical drive). Is there anyway to
- get Driver.sys to use B: as both the logical and physical drive? In other
- words no more D: drive prompts from dos. Or has anyone written a better device
- driver or patched driver.sys?
-
-
- Fm: Dave Hoagland 76054,171 10-Jan-87
- To: Dennis Wiener 76505,2040
-
- Have you seen the thread discussing DRIVPARM? It's an undocumented feature in
- PC/DOS 3.2 (it *is* documented in MS/DOS 3.2 though). Instead of using
- DRIVER.SYS, replace it with DRIVPARM=/D:1 to install a 3.5" microfloppy as
- floppy "B". You'll even be able to format as drive "B" to the full 720Kb. You
- won't find it floating somewhere above your hard disk. <grin>
-
-
- Fm: Dennis Wiener 76505,2040 11-Jan-87
- To: Dave Hoagland 76054,171
-
- Thanks again for the DRIVPARM info, it works like a charm and no more annoying
- change disk messages. Wonder why IBM didn't bother to document it in the
- PC-DOS manual and decided to try to saddle us with that device driver instead.
-
-
- Fm: Howard A. Cohen 72416,710 11-Jan-87
- To: Dennis Wiener 76505,2040
-
- I assume that you must use DOS 3.2 for the 3.5" drive--right? I am using
- Compaq 3.10 now.
-
-
- Fm: Dennis Wiener 76505,2040 11-Jan-87
- To: Howard A. Cohen 72416,710
-
- Yes, 3.2 is necessary for the device driver that allows DOS to recognize a 720k
- drive.
-
-
- @* DRIVPARM WITH AN EXTERNAL 3.5" DRIVE
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 11-Jan-87
- To: Joan Friedman 76556,3643
-
- When you say external, if you mean connected to the back of the floppy
- controller, and with DIP switches set to three or four drives, you can still
- use DRIVPARM (I think).
-
-
- Fm: Joan Friedman 76556,3643 11-Jan-87
- To: Doug Hogarth [PowerSoft] 76703,374 (X)
-
- It is attached to the external connector on the FDC, but I have never changed
- the dip switches for the number of floppy drives attached. If I did that, the
- external drive would become C:, and my hard disks would become D: and E:, and
- I'd have to rewrite all my batch files, Keyworks macros, and PCED syns! Not
- worth it. Maybe some day when I have time on my hands, I'll try it with a
- naked system, though, just to see if it does work.
-
-
- Fm: Dennis Wiener 76505,2040 11-Jan-87
- To: Joan Friedman 76556,3643
-
- My system is a 1 1/2yr old xt, no bios support for 3 1/2" drives either, but
- using DRIVEPARM, vs DRIVER.SYS the system recognizes my internally installed b:
- drive as an 80 track, 720k beast. Have you tried DRIVEPARM = /D:2 instead of
- DRIVER.SYS? It might be worth your while in the bit of memory saved. I'm sure
- your loaded down with TSR's like I am.
-
-
- Fm: Joan Friedman 76556,3643 11-Jan-87
- To: Dennis Wiener 76505,2040
-
- I mean to try DRIVPARM, nevertheless, but I suspect that Doug is right, that I
- will have to set my dip switches for three floppies for this to work. And
- doing so will change all the drive designations beyond B: on my system,
- necessitating a lot of changes to batch files, syns, and macros. I'll try it
- without the dip switch change and see what happens.
-
- Okay, I've just tried it, and here's what happened.
-
- Using a "virgin" floppy with no autoexec, and a config file that read only
- DRIVPARM = /D:2
- my drives A: and B: came up normally. When I attempted to read drive C: (which
- I wasn't sure which drive it would be!), the system accessed my first hard
- disk, but gave me a "General failure reading drive C:, Abort Retry Ignore" etc.
- message. I was able to read the second hard disk as D:. Trying to access E:
- resulted in "invalid drive specification."
-
- So, it seems that DRIVPARM assumed that it was supposed to be talking about
- drive C:, and yet the specifications I gave it (actually the default /F, /T,
- and so on parms) didn't conform to what was actually there in my drive C:. I
- suspect that if I did reset the dip switches, DRIVPARM would still go to drive
- C:, which would be the external floppy. And my hard disks would become D: and
- E:, the RAMdrive F:.
-
- I don't really want to do that. DRIVER.SYS seems to be a little more flexible
- in which logical drives it is able to assign. Or rather, DRIVPARM seems to
- assign an "internal" designation, whereas DRIVER.SYS, as we know, assigns an
- external specifier. Since my drive really is external, and I have come to
- think of it as coming "after" my other drives, I think I'll leave everything as
- is.
-
- p.s. - I wonder what would happen if I tried DRIVPARM with the parm /D:4?
- Don't think that's legal.
-
-
- Fm: Dennis Wiener 76505,2040 11-Jan-87
- To: Joan Friedman 76556,3643
-
- Most likely, in order to use DRIVPARM, you will have to set your dip switches
- to show a third floppy installed.
-
-
- Fm: Joan Friedman 76556,3643 11-Jan-87
- To: Dennis Wiener 76505,2040
-
- I think you're right about that. It's sort of a pain to open up the system and
- do that, plus I really don't want to alter all my other drive designations, so
- I think I'll stick with DRIVER.SYS for now.
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 11-Jan-87
- To: Joan Friedman 76556,3643
-
- I think DRIVPARM would only work if the drive can be accessed as the
- appropriate letter of the alphabet on a virgin system. In other words, the
- drive would have to be C and you'd have to refer to it as /D:2. DRIVER.SYS
- sounds like the best choice for sure.
-
-
- Fm: Joan Friedman 76556,3643 11-Jan-87
- To: Doug Hogarth [PowerSoft] 76703,374 (X)
-
- Yup, I later confirmed it by trying DRIVPARM without resetting the dip
- switches, and it didn't work. I will still try it sometime, just because I'm
- curious, but I don't think I want to fiddle with the designations of my drives,
- too much is predicated on the current setup.
-
-
- @* TO RECAPITULATE
-
- Fm: Barry Simon 76505,2315 13-Jan-87
- To: SysOp Conrad Kageyama 76703,1010
-
- Can you give me the full low down on DRIVPARM and should I upgrade my
- config.arc to include it?
-
-
- Fm: SysOp Conrad Kageyama 76703,1010 14-Jan-87
- To: Barry Simon 76505,2315
-
- DRIVPARM is an undocumented function in PC-DOS 3.2 but apparently fully
- documented under MS-DOS. The switches are apparently the same as in
- DRIVER.SYS: /D:x /F:x /T:x, where D is the drive number, F is the format type,
- and T is the number of tracks.
-
- My guess is that DRIVPARM simply patches the BPB in RAM, but this is only an
- intuitive guess. DRIVER.SYS, in the meanwhile, adds a logical drive to the
- system.
-
- If it's a matter of setting up a physical drive, then DRIVPARM is the way to go
- since it doesn't eat up any RAM (I saved 192 bytes going from DRIVER.SYS to
- DRIVPARM)...
-
-
- Fm: Barry Simon 76505,2315 14-Jan-87
- To: SysOp Conrad Kageyama 76703,1010 (X)
-
- Maybe some versions of MS-DOS. My Kaypro 286i came with MS DOS 3.2, a manual
- for 3.1 and a pamphlet describing new 3.2 commands. Driver.sys is documented
- but no mention of DRIVPARM.
-
-
- Fm: Joan Friedman 76556,3643 14-Jan-87
- To: Barry Simon 76505,2315
-
- Note that DRIVPARM does *not* work with external 3.5" drives, at least those
- installed according to IBM's instructions (which do not include resetting the
- dip switches for the extra drive). One of these days I'll try it with
- resetting the dip switches, but the result of that would also be that all my
- other post-B: drive designations would change, necessitating too many changes
- to batch files, macros, and syns to be worth it.
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 14-Jan-87
- To: SysOp Conrad Kageyama 76703,1010 (X)
-
- If you remember, I said it was documented in the MS-DOS Tech.Ref.Ency. - I
- don't know if it was in the standard MS-DOS 3.2 doc (I suspect it was in the
- blue package from MS).
-
-
- Fm: John Switzer 76067,3517 16-Jan-87
- To: All
-
- I've noticed that when I use DOS 3.2 and its driver.sys to use an 80 track
- drive, DOS sets up two logical drives, in this case B: and C:, both of which
- are the same physical drive. When specifying the other drive, you get the
- "Insert disk in Drive x: and hit any key when ready" message. It evidently
- does not use the same BIOS switch to keep track of which drive is current that
- a one drive PC uses, so my question is, does anyone have any idea of how to
- intercept these messages and force DOS to recognize the new disk without
- operator intervention. I would like to be able to include this convenience
- feature in my programs, but am lost as to where to look for this. Any ideas
- appreciated!
-
-
- Fm: SysOp Conrad Kageyama 76703,1010 16-Jan-87
- To: John Switzer 76067,3517
-
- Try DRIVPARM in your CONFIG.SYS instead of DRIVER.SYS. You don't give
- specifics on the drive, but the switches are the same as in DRIVER.SYS. The
- syntax for a non-360KB Drive B: would be:
-
- DRIVPARM=/D:1 /F:2 /T:80
-
- assuming that Drive B: is of the 720KB variety..
-
- DRIVPARM is undocumented in PC-DOS.. Some of the folks uncovered it in MS-DOS
- and we gave it a shot. Works like a charm! You do need DRIVER.SYS to addresss
- an external drive, but DRIVPARM does the trick for a physical internal drive..
-
-
- Fm: Doug Hogarth [PowerSoft] 76703,374 16-Jan-87
- To: John Switzer 76067,3517
-
- DOS 3.2 defines some new features for the IOCTL function. These are only
- documented well in the $100+ "DOS Technical Reference" from IBM. There is one
- sub-function to determine if more than one logical drive is assigned to a block
- device, and another to set the next logical drive letter used to reference a
- block device. You could use those features to add the convenience you speak
- of, though suggesting the use of DRIVPARM would usually be a more general
- approach.
-